package test;

 public class Jni_CodeImage {
    
    static {
        System.out.println(System.getProperty("java.library.path"));
        //System.loadLibrary("zzmEGD");/bzzmEGD
        //System.loadLibrary("libZZMEGD");//bzzmEGD
        
        System.loadLibrary("libZZMEGD");//bzzmEGD
    }
    
    public native byte[] codeByte(String code);
    
    public static void main(String[] args) {
        Jni_CodeImage s = new Jni_CodeImage();
        System.out.println("-----------");
        byte[] ss = s.codeByte("2935871821891031");
        System.out.println(ss);
        
        
       /*  
        "code" : "2935871821891031",
        "image" : { "$binary" : "EgAAAAAAFAghsqnbDAwdCFYB70FOxArJiUICn2gVVPUdhFxhMaBWmhYJhAAA", "$type" : "00" },
       */
    }

        
 
    
}
